package com.project.work.mapper;

import java.util.List;
import com.project.work.domain.BasicWorkOrder;

/**
 * 基础—工单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-05
 */
public interface BasicWorkOrderMapper 
{
    /**
     * 查询基础—工单
     * 
     * @param id 基础—工单主键
     * @return 基础—工单
     */
    public BasicWorkOrder selectBasicWorkOrderById(Long id);

    /**
     * 查询基础—工单列表
     * 
     * @param basicWorkOrder 基础—工单
     * @return 基础—工单集合
     */
    public List<BasicWorkOrder> selectBasicWorkOrderList(BasicWorkOrder basicWorkOrder);

    /**
     * 新增基础—工单
     * 
     * @param basicWorkOrder 基础—工单
     * @return 结果
     */
    public int insertBasicWorkOrder(BasicWorkOrder basicWorkOrder);

    /**
     * 修改基础—工单
     * 
     * @param basicWorkOrder 基础—工单
     * @return 结果
     */
    public int updateBasicWorkOrder(BasicWorkOrder basicWorkOrder);

    /**
     * 删除基础—工单
     * 
     * @param id 基础—工单主键
     * @return 结果
     */
    public int deleteBasicWorkOrderById(Long id);

    /**
     * 批量删除基础—工单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBasicWorkOrderByIds(Long[] ids);
}
